#include "RobotsFactory.h"

RobotsFactory::RobotsFactory()
{
}

RobotsFactory::~RobotsFactory()
{
}

Researcher *RobotsFactory::createResearcher() const
{
    Researcher *ret = new Researcher();
    ret->setHasWings(true);
    ret->setMoveType(MoveTypeRun);
    ret->setWeapon(WeaponBlaster);

    return ret;
}

Warrior *RobotsFactory::createWarrior() const
{
    Warrior *ret = new Warrior();
    ret->setHasWings(false);
    ret->setMoveType(MoveTypeGo);
    ret->setWeapon(WeaponRockets);

    return ret;
}

Worker *RobotsFactory::createWorker() const
{
    Worker *ret = new Worker();
    ret->setHasWings(false);
    ret->setMoveType(MoveTypeGo);
    ret->setWeapon(WeaponNone);

    return ret;
}
